<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .show{
   width: 200px;
   height: 200px;
  background-image: url("./huazi.jpg");
  background-repeat: no-repeat;
  background-size: contain;
   display: block;
   float: left;
    }
    #btn{
        width: 100px;
        height: 100px;
   background-color: rgb(186, 179, 199);
   border: 2px solid red;
   text-align: center;
   position: absolute;
   top: 230px ;
   left: 100px;
  
    }
 
    #box1{
        width: 400px;
        height: 50px;
        border: 5px solid plum;
        float: left;
        display: none;
        text-align: center;
    }
  .show1{
      display: block!important;
  }
</style>
<body>
    <div id="box" ></div>
    <div id="box1">"点你妈！！！我是曾少华，我在俄罗斯打仗呢!!!!"</div>
    <button id="btn">帅逼有种点击我呀</button>
    <script>
      
        let isclick=false;
     let btn= document.querySelector("#btn");
     let div=document.querySelector("#box");
     let div1=document.querySelector("#box1");
     btn.addEventListener("click",()=>{
    div.classList.toggle("show");
     div1.classList.toggle("show1");
     
     })
    </script>
</body>
</html>